package com.jiemengshi.server.mapper;

import com.jiemengshi.server.model.Attachment;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

@Repository
@Transactional
public interface AttachmentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Attachment record);

    int insertSelective(Attachment record);

    Attachment selectByPrimaryKey(Integer id);

    Attachment selectOneByTime();
    
    int updateByPrimaryKeySelective(Attachment record);

    int updateByPrimaryKey(Attachment record);
}